package com.yjc.compute;

import com.yjc.MyTest;
import com.yjc.api.Computer;
import com.yjc.api.annotation.ApiClass;

/**
 * TODO
 *
 * @author 闫佳成
 * @version: 1.0
 * @since 2024/10/8 16:22
 */
@ApiClass(interfaceClass = Computer.class)
public class ComputeNum implements Computer {
    @Override
    public double compute(double a, double b) {
        new MyTest().test();
        System.out.println("计算实例2");
        return a+b;
    }
}
